Closes #171

See: https://github.com/x3dom/x3dom/issues/171
Merge pull request #174 from TriMoon/patch-1

Closes #171