Fixed an issue with getting the icon if set to view it