Implements findPost to get element position relative to the document instead of parent