Yaw is rapidly spinning when Pitch reaches -90.

I’m trying to create a spring arm that does not use controller rotation (for reasons). I am using addrelativerotation to increase the rotation of the spring arm but when the spring arm reaches -90 degrees the yaw starts rapidly spinning does anyone know why this is?

I have the exact same problem and it is driving me crazy for over 3 days now!

I eventually just clamped the pitch to -89. Meh