fixed the mouse lag

event listeners only added once