Fix a bug with icon properties.