PLAYGROUND : http://playground.babylonjs.com/#1GM4YQ#123
PROBLEM: Clicking on GREY boxes displays wrong message. Should work the same as clicking on RED boxes.
MORE INFO: One function is creating elements from predefined array. Second function is dynamically creating elements using FOR loop and I don't quite understand why it is not working properly.
As you can see on the playground: clicking on RED boxes works just fine. The browser correctly displays clicked box's index. However, clicking on GREY boxes always displays the same message.
Thank you for reading,
Saafine