Supposedly its the top tier that picks, and sub events to the creation tier should remain picked. So even though this is a sub event, its is the top tier as far as the tile being picked/ created is concerned.
It must be the array, its either not being initialized correctly, or possibly a non integer issue.
Edit:
Ahh didn't see the current for array, yeah don't use that with a loop.