Ran into a bug where the tiles can generate outside of the visible area of the grid.
Oh dang? That should really not be able to happen, will look into it.