Fixed bug causing every 2nd label in legend.hidden to be hidden