Font stroke rendering above fill

I’ve got a text style, used for highlighted text and it works as it should in Rive, where I have a yellow stroke behind the fill of the text.
The font size is connected to a number input in the view model, and I’m using the same number input for the stroke thickness using a converter (number input/3)

But at runtime, it looks like that the stroke is rendering above the fill, so it looks like this:

I’ve have other rive files, using exactly the same setup where it works fine.
I’ve even copied the text component from a working project and relinked everything again in this project, but it’s still the same issue.