Bug 978044: Center print-previewed pages inside the viewport. r=mats