Clear selection when updating cursor position
Normally the user cannot get distinct selections and cursor
positions either using the mouse or keyboard. So we shouldn't
get into that position either when programatically changing
the cursor position.
BUG: 415644