fixed bug with fullscreen windows