When one uses distance from mouse to calculate speed the distant from center reached in x ticks varies.