Anyone know how to fix the anti-aliased part that has been changed?

Anyone know how to get rid of anti-aliased affects after compositing.


It was anti aliased to the original background, but as I’ve changed it, it shows as jagged; anyone know how to fix it?