Fix infinite loop on sysicon_addicon().