Fixing global menu show/hide