fix #25208: Page Settings margins not synced