views: Fix "visible" not working in menu bar, closes #825