Fix a strange issue with rendering sphere scenes.