So first time actually posting a question here, but I just can't seem to find a solution. So I made this fire ramp shader for a project I'm working on, and I want to have a transparent background for comp purposes. However, whenever I try to export using png the albedo details of the shader turns white when there's nothing behind it. I tried exporting it using OpenEXR as well, and that seemed to work for some reason. I don't want a 32bit image though, and would preferably keep it as a png.
Below is two images, one from blenders render window, and one exported using png with a solid background for better visualization of the problem.

I'm at a complete loss, so if anyone got a solution I would be grateful!