Fixing the styling issue with pin width and masonry