fix rotation in computation of the impact point of a box-ball collision