Fix item move undo bug