Masonry fix for Firefox