improve parallalax mouse movement detection