Fix JXG.Ticks label rounding

Instead of the tick position now the distance to the center is used to determine the tick at position zero. While the previous method works for normal axes it fails when logarithmic scales are used.