Fix setting of icons using groups.