plinkie - Correct, the object is not a global object, but the layer is. There's no visible code that would clear any of it, only add to it. And it is adding correctly, but it's deleting what was added on the previous layout.
Unless I'm unaware as to how "set tile" works and it actually clears the map and sets the tile specified? It's literally the only line of code that is affecting the tilemap.