legend behaviour fixed: show on first init