Ernio, I was trying to solve this same problem, and found the solution. In your item, you need to implement both of these
public IIcon getIcon(ItemStack stack, int pass); //used for in-hand rendering
public IIcon getIconIndex(ItemStack stack); //used for everything else
Maybe you already solved this, but thought I'd leave the solution in case others are having trouble and find this post like I did.