fix for masonry layout wierdness