I've found the problem. It seems that when the joystick is initialized it thinks that some buttons or something related, have been pressed. Before, the take off would have stopped any input.
I was able to fix the wingmen thinking I attacked them by changing their ship position.