fixed rendering when there is not light