Fix bug with keymappings.