issues with PlayerController showCursor

In my FPS, I have an inventory button that brings up a mouse controlled inventory menu. I enable show cursor. I then disable mouse look, and other inputs.

I then hit my inventory button again to make the menu go away and the mouse cursor disappears again.

If I click around in the inventory mode, my mouse look stops working until I click again. This should probably not be the case. It seems like the window is losing mouse focus somehow.