masonry and safari bug fixes