Fix no parent when click on shortcut keys.