Revert "Improve hasFocus check to compare the anchorNode to the parent"

This reverts commit ef6096aeca87deb47245f605ead141f10838d098.

Change-Id: I9d62a8411af578562b3bcbda85d53a9465e2baf5