Input: fix open count when closing inhibited device