Fix bug with certain configurations not making the window fullscreen