Fixed transition patch triangulation of adaptive tessellation

AdaptiveRefinementNode.triangulateLeaf() had modulo mixed up, which caused the triangles to use indices in 0...n range (i.e. one corner of the surface). This change fixes the triangulation of the transition patches.