Basic mouse handling had been reimplemented in SDL. Clicking with the mouse still crashes the game though…