Fix PopupWindow.isShowing()

I tried to remove the ShadowPopupWindow altogether, as I understand this to be the current mantra. However I ran into several other breakages when doing this. Specifically: a test broke around touch events, and the view didn't appear to be getting added correctly to the WindowManager.