Do not move cursor when interacting with horiz scrollbar

Fix #3284