key_binding_reader: protect current keymap stack