Fix display of legends on Firefox.