Cleanup margins on page when docking is enabled.