Remove selection on tab swapping.