Fix to jQuery Masonry