How to change the end of image with type "Filled"

I have a health bar in my game and I control it with the fill amount of the image, the problem is that the end is just cut and it doesn’t look good, what could be done to change it to, let’s say curved ending.

The square outline is the canvas and it so happens that your image is majorly projecting outside the bounds making it show up akwardly. Scale it to a size that will fit the bounds and all your problems will go away.