Page size fixes in commit b26749 did accounted for a "kept" rotation, but not a corrected rotation. Fixes #730.