Um, maybe. Is it possible that you ran over one of the upper layers with a transparent tile that isn't the upper left tile in the tileset? If so, that could cause the error. Try running over all of the transparent tiles in the second and third layer of the map with the upper left tile in the tileset and see if that fixes it.