bugfix: remove selected word only if hold moves out of word box

otherwise selected word is easy to lose focus and dictionary lookup will be difficult.