Changes here are to make cursor move when tapped, but not too fast if held.