Was this locomotive working fine until recently with the same transformer? If you are talking about the CW-80 transformer, with its chopped wave output, that could account for performance issues.
Perhaps @Lou N knows if this problem is a power issue or a locomotive problem.