The gas tube has nothing to do with how straight the rifle shoots.
Barrel nut alignment would be my guess.