I have a problem and I can not find an answer in internet. So basically I have a candle with animated candle flame (made with texture nodes and I added a point light source) and I want to render only the flame animation, because other things are static, and then combine the static image with the animated. So I need candle flame to be with a RGBA information. However, when I render it, it gives very weird result. So this is how it looks in my viewport:
And this is how it looks while rendering:
And it is the same in Cycles or Eevee. Could someone please tell how to fix that, if it is even possible?

