PDF generation better when using index.css