Can anyone explain to me why there is this strange "shift" of objects when passing from the first to the second slide in the below MWE?
\documentclass{beamer}
\usepackage{beamerthemeshadow}
\usepackage{mathtools}
\usepackage{tikz}
\usetikzlibrary{shadows,shapes.arrows}
\tikzset{
invisible/.style={opacity=0,text opacity=0},
visible on/.style={alt=#1{}{invisible}},
alt/.code args={<#1>#2#3}{%
\alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}}
},
beameralert/.style={alt=<#1>{fill=red!30,rounded corners,inner sep=1pt}{},anchor=base},
}
\newcommand*{\tikzarrow}[2]{%
\tikz[
baseline=(A.base),
]\node[
single arrow,
single arrow head extend=2pt,
draw,
inner sep=2pt,
top color=white,
bottom color=#1,
drop shadow
] (A) {#2};%
}
\begin{document}
\begin{frame}
\begin{block}{Theorem}
Assume:
\begin{itemize}
\item Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
\end{itemize}
\tikzarrow{yellow}{Then} \tikz[baseline=(A.base)] \node[beameralert=2] (A) {$a+b+c+d+e+f+g=47$.};
\end{block}
\end{frame}
\end{document}
PS: The question is, in a sense, a follow-up of the accepted answer in Highlighting in Beamer using TikZ nodes.
