Updated renderer to be able to handle empty scenes.