Fix crash when using instanceof HTMLElement
in some environments
#2932
Loading
instanceof HTMLElement
in some environments
#2932