Ground is a confusing term. It is called that because homes usually have a steel rod driven into the actual ground that the main panel's 'ground' is hooked to. Also called Earth. It is more appropriately named Common, as in the common point to define as zero. The intention is that any circuit you accidentally make with your surroundings will have more resistance than the hard wired path to common, so current will flow through that rather than through you. There is a very tenuous connection between your floor and your electrical ground with presumably a very high resistance(vinyl, wood, etc), so that shouldn't have made a huge difference.
What happens in a ground loop is that one or more circuits has the hot and neutral lines swapped, and one of the circuits which would normally have no circuitry on the neutral line, does, because it is backwards. This puts a load on the neutral line. And in many circuit designs, neutral will be tied to common. So you effectively have current flowing through ground.
I've run into this many times with various power supplies (like amps), or just having long cable runs next to other electrical equipment. That was more an induced current in nearby wires though. Still the solution was to tie the commons together. Which says something may not be quite right in that first room.