Fix jQuery Masonry issue