Fix row-reset when first box is higher