replace mirror with mirror in reference image