Halo Bad on compositing

The same issue occurs when you cut pixels and paste them back in place - you’d want there to be no visual change, but a fringe is introduced.

I think this is due to how the math for a merge operation works in compositing. Basically when you do what you describe, you’re creating two premultiplied image elements, and then I guess this happens: