Fixed bug in lighting