Code not firing on page load until I adjust zoom level on browser | Webflow [closed]

I have a webflow site where I am using a JS script to create a masonry layout for my projects. The code is working fine on all instances on my site apart from one where it does not trigger unless I adjust the zoom level on the browser which causes it to fire.

The script I am using is this: https://www.webflow-tools.refokus.com/tools/masonry-layout

The page with the issue is here: https://www.ciaransmith.work/projects/rite-aid. (the section with the issue is under the heading ‘Paid and organic social content’)

The items should be appearing in a masonry style list but on page load start off stacked in one column. Upon adjusting the zoom level in the browser the code appears to activate. There is a second instance of the same code working fine further down on the same page.

Anyone have thoughts about what the issue may be here?