Fixed|Menu|libcommon: Activating binding grab with mouse button(s) in control menu

The input grabber was reacting to the subsequent mouse button up event
that followed the initial button down.

Also fixed a similar issue when rebinding joystick buttons should the
"menuselect" command also happen to be bound to a joystick button.

IssueID #1916