Fix shortcut.remove() call on popover.