Mouse up while off menu better not trigger hovered command

This might be just my current opinion:
When the mouse is up but the mouse pointer is somewhere else far from the menu already, even though one of the commands is hovered, it should not be triggered to surprise users. As far as I see, command should only be triggered when mouse pointer is on the menu.

However, feel free to ignore this pull request if you think otherwise :)