UI Scaling problems with Screen Space - Camera

So I’m making a 2D platformer and I just got done with the Health UI. When I click play, the health bar looks perfect in a smaller screen, but when I maximize it, the health bar moves quite a ways to the right. Is there a way to scale it to where it will stay in the same place no matter what the screen size is?

I have had the same issue and it has to do with your pivot points for your hp bar. I used this video a lot for reference. Hope it helps!