Rewrote sourceTileset to accept girds as indices, making tile based sprites possible. Still not working correctly.