Set the legend background to be transparent instead of body bg

So that it always works, even on different backgrounds (e.g., panels)