fixed getIntersection errors for cans on top of segments