9-patch doesn't display in the editor correctly

The 9-patch objects have been configured with proper textures, but when I insert them in the scene, they don’t get displayed properly. When I change the parameters of the 9-patch, it is displayed differently, yes, but still not as expected. The healthbar_bg doesn’t get displayed at all except the corners, lol.

I’m pretty positive this is a bug. For some reason, this only happens to healthbar_bg and not to health_buffer. This is also an editor-only issue for what I see.