How to get correct size and alignment in UMG with DPI

I’ve put together a quick health bar. For the moment it’s just three images without textures and with a colour set.
They’re all inside an Overlay with different paddings set to create the borders, as you can see in the following image:

The problem is that when the DPI is not 1, the bar will “jiggle” as its size and position change.
I’ve taken screenshots to show the problem.
No. 1 show how the bar always looks when the DPI is at 1.
No. 2 and 3 shows how when the DPI is not at 1, the sizes and positions become inconsistent.

Is there a way around this problem?

91089-scr.jpg