Fix incremental text insertion considering behavior at annotation boundaries.