how to fix the ghosting issue when I use the movie render queue with stencil layers?

Hi guys,
I set up “Stencil clip layers” on the movie render queue.

the hiding actor’s edge appeared with a gray line.

does anyone know how to fix it?