Changed uses of `getStyle()` to use `getPropertyValue()` rather than accessing properties on the style object directly