fix issue where addrows would corrupt the grid if it was inserting right before the viewport
fix issue where addrows would corrupt the grid if it was inserting right before the viewport

unifly-aero/powergrid,unifly-aero/powergrid