fix bug with fast io mapping of recent key scan codes.