fix window resize timing
Merge pull request #453 from xia-sava/feature/fix-window-resize-timing

fix window resize timing