Does Makie.save("name", scene) also save the legends on the plot automatically?

I was creating legends, but after I used Makie.save(), so that was the issue. I have edited my original question, to showcase what happened.
Thanks for the inspiration to fix it!