How can I limit the Camera Switching View?

I’ve been following some tutorials and started working on my game project more and so I created a simple blueprint to switch between First Person (attached to pawn) and Third Person Characters (attached to boom) but, I realized I have a problem.

I enabled the pitch and yaw control and now when I look around in third person my character is pretty much levitating because of it which I am thinking is because of how I did it using the pawn control rotation or with the pitch I guess…

How can I fix or limit this? I am still looking around but, so far not really sure and kinda stuck. Any help is appreciated.