Changed the rendering parameters factory to correctly use the SpawnProvider instead of the outdated private methods