It seems like when I export to PNG, the outline of the text labels vanishes
Yeah, it was the same with the legend. Hopefully I will find a way to fix it. For now you can try exporting as SVG.