Fix Panel to correctly use addUniqueEnumStyleName when changing PanelType (via setType)