Fixed #279: `className` of groups not being updated when changed