Fix lighting errors when all lights are disabled.