Avionics turn off and only go on if right mouse button held

Same issue as the subject of this thread, where the avionics would only go on if the right mouse button was held.