prevent renderer from being initialized twice