send resized event when restored from maximized on windows.