Fix updating of item type icon when changing types (broken by 6b7fe80)