Fix SDL2 oopses.