Solve special case where the intersection is just in a corner of a polygon