Check for null pointers in SDL.Video