[[ Bug 12589 ]] Make sure focusedparagraph's selection is cleared when inserting text at the focusedindex.
Merge branch 'bugfix-12589' into release-6.6.3