Make legend hiding work. Fixes #218
Remove incorrect comment