Use activate event to exit menu

Will be added in 17.1 until then suffer.