Remove use of mousemove event.