Fixed #1763 by checking to see if .createElement() is available on the context and...