attributeIconDict returned a wrong icon on the first call. Also added rounded corners for icons.