Fix RectangleIntersection with shell following rect boundary