Fixed bug that resulted in wrong triangulation of concave quads.