Fix torque minimizer in Controller.