Prevent app from switching to fullscreen mode