Fixed lighting state leak
Merge pull request #8 from Lrns123/bugfix-lightingleak

Fixed lighting state leak