Reset styles on canvas dimensions change.

For some reason when the canvas width or height is changed all
styles are unset.

This fix only adresses the CentsGauge object.