Lock cursor to make drag scroll nicer.