#533 reset the metaobject to null after determining the icon