If connected L293D Arduino not starting

Hello, I have small problem. When I connect my motor driver L293D to 5V and GND, my Arduino is not starting. If I unconnect it, it works normally. (I have installed Firmata) But when I start it and connect 5V and GND back, it will freeze and communication with PC not work (with unconnected those 2 cables it works). Any help for it please? Thanks.
If you want, I will record video tomorrow, what it makes.

I was searching, but I don't know what to write to google.

(Sorry for my English, I'm from Czech Republic)