Fixed bug - can select string and then lose focus when done editing