[InfoBarGenerics] fix possible BSOD, for 3rd party plugins.