Issue - Unexpected reflow of text

Sometimes I will see a gene name at the end of a line and double-click it to make it green. Sometimes if the gene name is hyphenated, the word will be turned blue on the first click and before the second click the line is refolded at the the hyphen and my second click just hits white space. This seems to cause some random nearby word to turn green instead. It's very disconcerting! I wonder why merely changing the background color of text causes the refolding.