Merge focus change and mouse exit events

Getting inconsistent state changes when tracking them separately.