I am writing a MacOS Menubar app and I want to assign a SwiftUI view as the NSMenuItem view. Here the current code, but this results in the menu item being hidden.