Fix selection of a word 'under the cursor'