fix #33281: page layout settings ignored
Merge pull request #1314 from MarcSabatella/33281-page-settings

fix #33281: page layout settings ignored