Fixing pdf-export. See hakimel/reveal.js#808