popups have no wm_region in context, using wm_menu here. Not working perfect, but at least it prevents crash.