URL.resolve should not cache the document's base element.

URL.resolve would fail if the document's base node is set or replaced after montage has been initialized