Moving camera upwards causes character to move along the roll

I’m making a bow system for unreal engine 4. I’ve been following this tutorial Unreal Bow and Arrow - Turn Upperbody towards target - UE4 Tutorials #170 - YouTube. At the moment, I am trying to get the character to rotate to the direction of where the bow is pointing. I did this using a transform modify bone with a get control rotation on the spine_02 in the anim bp. In the game, when I move my camera sideways, the character moves correctly across the yaw, however when I move my camera up and down, the character moves along the roll for some reason.

To change the modify bone, I’ve plugged in the pitch and yaw from the get control rotation into the transform modify bone and set the roll to 90.

(I’m not too sure but maybe my character settings might be the issue? I’ve heard that some people with this issue have something wrong with the character movement settings)

Any help would be greatly appreciated