Fix lighting code.