Fix context menu disabling detection of clicks outside menu.
Stop unnecessarily tracking pointer motion.