Fixed undo scroll bug for add row