Fix inserting rows while grid is scrolled.