Don't override/change Error.prototype globally.
Add a dummy getBoundingClientRect method.