[SDL wrapper] waitEvent and waitEventTimeout would not update state of keyboard/mouse, which lead to unresponsiveness in dido. Fixed that.