Fix performKeyEquivalent may call twice