Stopped IDE from resetting the video mode