Make HTML5 print work properly