guard against null tileInfo

Occasionally getTileData will return null. If statement should catch that condition.