fixed using SDL_DisplayFormat() even if video is not initialized yet