Do not segfault on faulty tile ids, but warn.

Found when starting a way older version of poly with the current engine.