fix an issue of lost inputs in direct control mode