Fix outside click listener firing when the menu...

...is hidden.