Restricted Yaw after re-enabling "Set input mode Game only"

I have a button that brings up a menu and sets the input to UI only
When you press the button again it sets the input to game only

When I switch back to the game only input mode I can no longer turn all the way around, I can only look left and right about 90 degrees

I figured this out, I needed to connect a “get player controller” to the “set input mode game only’s” target slot