KVF: fix undo/redo with movement