Check tiles are within bounds