Fix a bug that mouse cannot work correctly when maximize the window from 1x window size.
Merge pull request #3919 from shenweip/patch-7

Win 32: Fix a bug that mouse cannot work correctly when maximize the window from 1x window size.