BUG: copy image but replace in full mask