Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.