Render Outline - Buggy

I don’t mind writing the code but I won’t be able to recreate the issue without the right mesh. I am just setting renderOutline as true and changing the outlineWidth. Finally setting the color using outlineColor. Not much to show.