This error has occurred (in one form or another) in other movies as well.
At one point where Grant and the kids are fleeing across the park, they climb across an electric fence. Grant and Alexis make it, but Timmy is not quite down before the power comes on and the shock blasts him away.
*What* shock, though? He isn't touching anything but the fence, so there's no earth plane to which a current through him could flow -- so how did he get a shock?