On a webform I'm using an address field type (using modules: Address Field and Address Field Tokens).

It shows a series of fields for an address, appropriate to the country of the address. For example, for a US address it shows: Country, Address1, Address2, City, State, ZIP Code

Initially these fields appear properly rendered with the compact styling.

But if you change the country, the fields are redrawn (sometimes changing what fields are shown, e.g. replacing State with Province). Thereafter, all of the address fields are no longer rendered with the compact styling, even if you change back to the original country.

It would seem that there may be another hook where the compact forms logic should be called, which isn't happening.