Fix isolines painting