Fix bug 1764: incorrect variable assignment in RenderDrawLinesWithRects