Check for valid video mode