This PR changes the current behavior that closes menus that are open when your mouse is moved out of its "safe" area (a bit wider than its visible bounds). With this PR applied menus stay open unless you click elsewhere, hover a neighboring menu, press escape, or select an item. Although this PR turns off menu mouse leave, it also adds a preference that can be used to turn it back on. Pull Request: https://projects.blender.org/blender/blender/pulls/145523