Closes #171

See: https://github.com/x3dom/x3dom/issues/171