Outline effect with patter texture, the pattern broke

I made my own three js editor for my project with using three js , r3f, drei, and react three postprocessing etc.

I put the pivot controller which I clicked. and In some case the pattern texture with outline effect turn on.

I met this symptom

in some reason the pattern texture work correctly if some object hiding target mesh.

Looks like z-fighting - how are you applying that blueish effect? (If it’s an additional mesh overlying the selection, consider setting depthTest / depthWrite to false.)

I applied with depth of fields pattern texture props.
So I think I can’t set the depthTest/ depthWrite about that. Its about post processing