Fixed processing mouse and keyboard events in hatari, which uses the old SDLMain.m without creating an SDLApplication instance