Editor: Fix tile editor ID values being corrupted when opening a custom map.
Editor: Revert 'char' to 'int'