Fixed issue when iconData is NULL (probably it is result of installed
incompatible packages).