Update TileLayer.lua

Sprite batch crash fix
Merge pull request #26 from markandgo/patch-1

Isometric sprite batch crash fix