Remove an old focus: event hack from the state-changed callback code