No more errors when mouse moved

Change lot's of thing to change the mouse moved event