Fix Masonry transitions