SDL mouse fix, AI