corrected mouse movement when using client