Another z-level fix, changed the way IDs are handled for tiles.