Give error instead of crashing when an object maps to a nonexistent tile.