Fixed bugs related to TileMachineWithInv conversion.

Removed not-removed BC api.