BatchCommand API fixes

don't pass Texture Id.
Instead fetch it from the `TextureAtlas`
Merge pull request #5147 from ricardoquesada/batch_command_api_fixes

BatchCommand API fixes