check for styleClass change before propagating