spheres: optimize collision, fix relativeMovement