Mcp23017 getting very hot within seconds

Yes I checked everything with a multimeter and the connections are correct.
It is a 2 amp powersupply. I thought the components only draw the power they need?
3.3V is correct as well.

Here is a picture of the circuit diagram (only for 2 of the total of 8 driver motors)