keybinding: fixed shortcut invalid when grab kbd and mouse