Fix bugs due to the migration from Windows to Linux
Some problems with the managament with the windows size and fullscreen toggle still persist