The colour from the outline of the mesh behind anything infront of it bleeds through to the one infront

I have been trying to fix this for 3 days and nothing seems to work but whenever a static mesh is behind another, the colour of that static meshes outline bleeds through dominantly and ruins the effect I want, I am using a post process volume to apply materials to every mesh in the world, but I need specific items to glow different colours, for buttons and stuff around the level.

If you need any more info please ask