Changed event target for mousemove and mouseend