fixed black window issue on fullscreen and disabled minimize on focus lost as it caused issues with vid_restart