Fix bug with wires sometimes not going back to unpowered correctly