Fix an issue when switch between plugin with icons and without icons.