When I include a table of contents in a Beamer slide show, each section entry in the TOC ends up linking to the second slide in that section. I would have expected it to link to the first slide. What am I doing wrong?:
\documentclass{beamer}
\begin{document}
\begin{frame}{Test TOC}
\tableofcontents
\end{frame}
\section{Section 1}
\begin{frame}
\frametitle{Test 1}
\end{frame}
\begin{frame}
\frametitle{Test 2}
\end{frame}
\end{document}
Just to clarify: when I click Section 1 in the TOC, it takes me to the slide Test 2.
UPDATE: I am actually not sure if it takes me to slide Test 2. When I click the link, the viewer (Evince and Okular) displays most of Test 2, but with a tiny strip of the slide Test 1 visible at the top of the window. I suspect that the viewer may treat the link as pointing to the very bottom of slide Test 1 and then aligns that with the top of the window. Could this be the explanation?