Fixed group number bug due to :hover state styling