Fixed pageLayout() for real this time.