Image Sequence DOF help

Hello, so I have an image sequence imported from a greenscreen shoot. I am running into a challenge, I am curious if I’m missing something simple as a fix!

I am noticing the seam where my video meets the digital set, there is a harsh line. I can make the line go away by toggling to “before DOF”, however then the entire video goes blurry.

Has anyone here found a reliable workaround for having both nice transparency for hair/clothing, but also integrated DOF?

Thanks so much!