Why does 74hc595 work "better" without GRND (pin 8) grounded?

Yeah, it's impossible to trace your wiring in that pic. But it does look a bit of a jumbled mess, I'm not surprised that the circuit does not work. Get more breadboards, clip them together and neaten-up your wiring. Try to keep wires flat on the breadboard and straight. Like I mostly did here: