Model train speed controller issue

You are making something with Tinkercad that is not even close to a real driver.
Tinkercad has the L293D. That driver chip is outdated and has too many disadvantages, but perhaps you can use it in Tinkercad for now, instead of a driver module.