Fix renderContext.renderer initialization