select the word of the clicked position instead of the current cursor position