SDL: Improve mouse support.