With pdflatex the following
\documentclass{beamer}
\usepackage{hyperref}
\usepackage{tikz}
\begin{document}
\begin{frame}
\begin{figure}
\hyperlink{bar}{
\begin{tikzpicture}
\filldraw (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
}
\hyperlink{bar}{
\begin{tikzpicture}
\filldraw (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
}\\
\begin{tikzpicture}
\filldraw (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
\begin{tikzpicture}
\filldraw (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle;
\end{tikzpicture}
\end{figure}
\end{frame}
\end{document}
yields a slide where spacing between the hyperlinked tikzpicture environments (upper row) is larger than the spacing between the non-hyperlinked tikzpicture environments (lower row). The same effect can also be seen when using e.g. \includegraphics. Is there a way to get rid of this spacing?

%) at the end of lines? – Werner Apr 20 '17 at 20:39