It does render to an element inside the container, but the size of the renderer changes to the window size.