Fix for counterclockwise triangles.