Enter pointerlocked mode when intersecting with menu within a close radius to the menu from the front of it.
Not sure if this would make the experience easier, but interacting with the menu is easier from not-pointerlocked mode because you can select the textbox, type on irl keyboard, click between tabs without having to angle everything correctly in 3d space.