Fix for objectDefineProperty