fixed lighting bug, but undid the central fix for #2