You have an array of array, maybe that isn't supported?

Code:
  LevelRow   = array of GameTile;
  LevelLayer = array of LevelRow;
you could try changing it to a fixed-size array, or a single-dimensional array, and then access it by LevelLayer[y*nbColumns+x] ?