Fixed z-buffer fighting with the triangle+grid algorithm

Used:
glPolygonOffset(...)
and glEnable(GL_POLYGON_OFFSET_LINE)