The "wire" is a capillary tube that has the gage at one end & the bulb at the other. The system is filled with a volatile fluid that when heated expands and through a bellows and clock work mechanism in the gage head moves the needle. If your cap tube is loose then you will have to replace it or send it out for repair.
Hi Team,
link below may give some insight into how these gauges operate and how to repair them if you feel so inclined.
https://www.ply33.com/Repair/tempgauge
Cheers,
Eddie B.