Yes this is a known "issue" with the Mouse Look actions.
The best way to go about this is to never leave the state with the Mouse Look action, but to set it's sensitivity to 0 when a menu is open, and then back to previous sensitivity once the menu is closed.
I do this with all my projects, where I have a separate FSM that sets the sensitivity float variable of my FSM with the Mouse Look action.