PopupWindow: Gravity fixes. am: 085160612d am: a732ea6c1f
am: 0ceb3cd785

Change-Id: I9e8dbd01cc0dfa0e115a5f0270912cbb67e9213d