Make sure that base and local-keymap are recalculated every time