fix for trails rotations going wrong with small offsets