Fix a bug that appears when you leave the software with alt + f4 when it is in fullscreen