Fixed so it's possible to override the root container for UI elements defaults to document.body.