masonry layout fixes