Adjust mouse move logics

Signed-off-by: Cody Massin <keyosk@gmail.com>