Fix note resize double undo bug.