Add a check to the Gecko script's onCaretMoved() to be sure the caret moved