Fixed weird case when mouse jumps when scrolling