Support for newer versions and light draw fix

Avoid drawing light under covered tiles.
Merge pull request #490 from conde2/master

Support for newer versions and light draw fix