Fixed bug #6401 - back-end can choose the order the triangles when rendering rects, attempt to fix small glitch rendering.