Fix overlapping tiles