Changed instances of deprecated renderComponent->render