Fixing keybindings for remote sessions