Added checks for uninitialised renderers.