fix divison by zero when determining xStep when rendering

This one fixes https://github.com/brutasse/graphite-api/issues/64