Fixed a bug causing the EarClippingTriangulator to generate invalid triangles.