win32: slightly smoother window resizing