[Gooey] Prevented escape menu from being toggled twice in the same frame when there are multiple escape key handlers.