Check for focusable element inside scroll area of non-body parents

Fixes a problem where a focusable element is within the scroll area of an element which is absolute positioned and visible, but not in the scroll area of document.body (as the scrollbar appears on the absolute positioned element).