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