The sending unit is grounded to the tank, which is grounded to the body. Rust, paint, insulation, and even substituting a rubber line for a steel line will interfere with the ground. You have established that it works if grounded, so a hidden ground wire is all you need. Willie