Fixed a bug in the lighting code.
Note that with depth buffer, unlit will still not works.