Fixed potential crash when saving if tile property is not a table.