Fix undo/redo for MultiLineTextBox