Fixing bug where tiles get added multiple times, second pass