Merge "Fix bug #7367429 Popup window should get its direction from it Anchor View if it can" into jb-mr1-dev