You probably have to force a rerender between the two stylesheet changes. There are various tricks for this we could try. I'll fiddle around with it when I review this next week.