Fix replaceWith(BlockSnapshot)