Fixed max-visible items when appending them in batches.