Multiple references to the same footnote inside a table environment

You could use my answer to the same question and use \footref provided by scrextend (part of the KOMA-Script bundle). This is at least working partially. For reasons I haven't figured out yet the hyperlink from \footref inside the table links to the table caption, though, instead of the footnote. I don't know if that is a failure of scrextend or hyperref

\documentclass{article}
% call `scrextend' before `hyperref'!
\usepackage{scrextend}
\usepackage{hyperref}

\begin{document}

This is a paragraph\footnote{\label{first}some footnote}.

This is another paragraph\footnote{\label{second}another footnote}.

This is another paragraph using the first footnote\footref{first}.


\begin{table}
\caption{A table}
\begin{minipage}{\textwidth}
\begin{tabular}{rrr}
 \hline
  E\footnote{\label{1sttablefoot}Some table footnote} &
  F\footref{1sttablefoot} &
  G \footnote{Another table footnote} \\
 \hline 
  1 & 2 & 3 \\
 \hline
\end{tabular}
\end{minipage}
\end{table}

\end{document}

enter image description here