fix getParent when this._el is undefined