color override doesn't work

I’m doing an Animation test. I got a file and started animated it. There are poses already set up in the scene. One is laying down, the other is 3/4 standing pose. All the symbols are in the laying down character, except one right leg. So I duplicated the whole leg pegs to the one I’m working on, in the right order. But the two override layer in the leg layer doesn’t work. It’s should be interact with the body so when it touch the body the leg will not show the dark outline. I tried to ajust the Z space on the leg but it didn’t work.

Anyone know how to fix this problem?

the problem is not to move in the z axis, must be modified in the Network window, move the layer to your accommodation in the composite.

https://www.youtube.com/watch?v=2TZOnYYcdsQ