Many aircraft have centering springs on the nose wheel steering rods. If one were broken you would get the symptoms you describe. The easiest way to check is to centre the rudder pedals and tilt the aircraft so the nose wheel is off the ground and see if the nose wheel stays straight.