Transparent object replacement