fixed pdf export issue

See https://github.com/hakimel/reveal.js/issues/808