Disable fullscreen mode on submit