Propogated a pointer-check from menu-attach to menu-detach. (Apparently,