Update distance calculations between rects and circles.