Fixed a bug with show/hide menu behind a button.