legend invisible on load, visible after a tag