Fixes masonry issues