[SDL] Fix various issues with keyboard events