Fix bug with multiple text fragments active

It would miss a character when typing through one
e.g. 
fool
foolhardy
if you type foolh only fool would be highlighted 
while the other would deactivate