Bug with Widget's menu

Well, with visibility I would suggest using either collapsed or self hit test invisible for when the UI is not to be seen/used, but that’s just my thoughts on it.

Have you checked your ZOrders? Also, you could experiment with the capture mouse, just be sure to set capture mouse to false when you’re running the code that changes the input lock and visibility.

-WM