Fixed bug where legend text wouldn't show in Save as Image