Can't add a border to a transparent progress bar without losing transparency?

Example without border:
image
With border (no other change):
image