Fix inconsistent text selection behavior with option-shift-left/right/up/down.