All of the electrical circuits on the front of an R65, have their own ground or earthing wires, these are the solid brown wires, the frame, steering area is not a designed return path for electrical power .
On the '81 and later year bikes, all of the grounds/earths are ganged together at one point under the tank around the relay area, by one bolt threaded into a threaded lug on the frame .
On '78-80 model year bikes, the main grounding/earthing point is the front ignition coil mount, quite prone to cracking, and giving odd intermittent electrical problems .
Remove that bolt/screw, and check for corrosion on the threads on the frame lug .