How do I fix the torque my thrusters are adding to my ship?

The best I’ve achieved is a slight drift towards the positive Z and Y axises (diagonally up and right). Without any offset it either goes up and to the right by a lot or just noses down into the ground.