Fix corner case where newly-added grid rows might not get shown