Fixed an issue with certain class actions not being applied.

I noticed that my class actions were not being respected - adding an
explicit call to the change handler before handling any X events allows
those class actions to be applied as soon as they are available.