Fixed #1360: Use getOwnPropertyDescriptor to prevent failures on props like __proto__