Use e.target instead :focus selector.