Fix masonry-card for collections with no lines.