fix coming out of fullscreen on windows (but does this cause issue on osx?)