Fix bug with V8 engine not being able to attach to self, window or global.