Fix simulation lockup when the ball gets pinched between solids