Okay I guess this should be tileQueue[i].layer right?