Changed Render2D to accept a rootView ref after instantion.