Removed not necessary switching of video mode.