Windows and any other sane operating systems do this so that if you accidentally click something, you can realize your mistake and drag the mouse to an inactive area before releasing, allowing you to cancel your menu click. Many times in SK have I accidentally ignored, traded with, or inspected someone when I could have prevented that if SK weren't using a custom UI.