Fix a bug that causes the warnings not to be displayed when opening info bubble.