Prevent referencing non-existent tiles
Merge pull request #296 from virtual-world-framework/fix-grid

fix-grid