Fixed the inverted normals issue.