Resource bar visual glitch, right margin being repeated at low values

Hello,
I’m having visual glitches with my resource bar when it is only filled very little, for example 1%.
The fill bar right margin is being repeated in front of the fill bar.
I’ve tried messing around with the numbers, padding and the resource images a lot, but I cannot get this issue to disappear. Is this problem familiar to anyone and do you have an idea of what might be causing it?

Screenshot 2024-05-31 132658


I tested it and the same thing happened to me. It seems to be a bug in the resource or fill bar.

If we’re both right, I suggest changing this to a bug report or creating a new post.

It’s because of how Panel Sprites are rendered.

When you change the left and right margin to 0 the bug should disappear.