Fixed display issue with legend at full width.