Fix an issue with the icon visibility