Is there a way to remove layers from a legend within the print widget result in experience builder? I have a use case for making a static map online using the print widget. In Web App Builder the print widget honored layer visibility set in the legend widget. Now layer visibility for the legend is set in the map viewer but it is not honored in the print result legend.
Screenshot of legend widget

And here is a screenshot of the legend in the print result

I'd like to be able to remove the railroad and centerline layers from the print result legend just like in the legend widget.