ULN2003 current flow through non enabled pins
I suspect you soldered the ULN2003 to the board using solder that is not electronic grade solder so the flux residue is conductive (and also very corrosive). If so. Try cleaning the board throughly.