Detach from Actor causes wrong tilt on Possess

Hi, I attach my character (the rider, GREEN) at a socket on my “horse-like” character (RED) via the function below. The “horse” tilts side to side in its idle pose. If I detach my character from the “horse”, the view rotation will assume whatever angle the socket was last at, making it look as if the horizon is tilted.

It appears that the rider’s player controller’s rotation is being affected in X (roll). However, if I attempt to set the player controller’s rotation to 0,0,0 immediately after Detach From Actor is called, that will fix the horizon, but the rider himself will appear to be tilted at an angle, rather than perpendicular to the ground as normal.

Any ideas how to fix this? Thanks so much!

BP setup below (right-click and open in new tab for larger image)

Ride Function (Possess “Horse”)

Dismount Function (Possess Rider)

Praise God for showing me the solution! All you have to do is zero out the rider’s roll and pitch and SetActorRotation BEFORE possess in the Dismount function.