Merge "Fix getPageDimensions failure handling"