Improve SETextBox word selection

Fix explicit null dereference CID 18129