Fix a problem with multiple engines

If an engine removal leaves a vehicle with no active engine, all remaining engines are toggled into active state. This prevents a situation where a vehicle is left with no active engines despite having engines installed.