Yeah, unfortunately it's a side effect of letting people design any type of course.
We have no idea where the ball will land, so have to rely on IK technology to place the player and select a stance.
Sometimes it can't decide what to do and returns some weird values making this happen.