S!
Sounds like a very weird problem :O .. Are you sure that your joystick USB just doesn't come loose in the heat of combat?
Make sure you have bound all the automation controls to keys you don't press by accident. There are three if I remember correctly: "autopilot", "autopilot automation" and "level stabilizer" ... Might not be exactly like that, but close.