sphere acts weird while changing its worldPosition
The answer came from the blenderartist's forum where the user agoose77 wrote


  You need to use


mop.hitPosition



  . The position attribute of the base class of KX_MouseFocusSensor,
  SCA_MouseSensor, returns the pixel position of the mouse, which can
  reach a value in the thousands.


And it worked.