[Bug 23303] Reducing window size fails to generate WM_PAINT when complete