Stencil render order lost with each compile.

I tried to set up meshes with custom stencil values so that the outline mesh always render behind the original mesh. That works until I compile at which point even lower stencil values end up being rendered first. Doesn’t matter also what setting I put for buffer write.

Is there a setting I’m missing?

Before compiling:

After compiling:

275688-capture2.png