Weird camera bug in 2.5D platformer view when character completes a ledge climb

Hello,
I have this small and annoying bug where if you hold down the “D” key while the character finishes climbing and the ledge climb is executed, the camera is forced in the same direction, moving out of the axis it should stay on. I don’t understand if this is solely due to the up input or if it’s something I can prevent from the blueprint.
I’m attaching a couple of screenshots and a video of the problem.
Video of the problem


Camera settup in BP

Climb BP

Ledge climb BP