Fixes for better printing, specifically for wkhtmltopdf