Bug fix : An error occured when a span has been moved repetitively by undo or redo.