Correcting tilt of a page