Hide the control entirely unless there's a legend. Fixes #421