Fixed undo/redo when resizing Views