Hotfix for undo/redo in CaptionAider