Ref #15913. Fix 'useTarget' scope + elementFromPoint returns wrong element when the viewport is scrolled.