rewrote popup views to be drawn with DrawRect