[Bug 52442] WM_SIZING not handled correctly