Fixed tileset layer parsing - spritesheet calculation error