Fixed an issue with the triangle normal vector