bug in bacspace caret position in a specific case