Fixed an issue with line joins breaking on duplicate points
Fixed an issue with near-parallel intersecting lines