Fix issue #222: Legend Container jumps on first click.
Merge pull request #233 from kdeloach/topic/legend-hiccup

Fix issue #222: Legend Container jumps on first click.