Fix fullscreen support more or less properly