Ensure that legend is hidden after legend specs.