(WindowImp::getParent): Fix a bug; cf. http://www.w3.org/TR/html5/browsers.html#dom-parent