TSUI-52, removed bug that legend always is opened