Fixed problems with multiple intersections and intersections at the wrong place