Fix isShowing() on PopupWindow