Fix component injection problem when field type is apam component