Fixing bug where tiles get added multiple times, first pass