[Bug 591958] pdflatex produces errors when using the beamer class