focus: reset state if we get a match