Fix for object property styling