Fixed an edge case causing a point with the same y value as two edges sharing a common point to be considered outside the polygon.