fix GraphicTest crash with SDLSetVideoMode