Fixed some errors forcing to override the vanilla iconRegister method