Fixed breaking layout by adding template masonry-width element to determine the post width prior to initialization