Deactive input cancelling when moving the mouse

When I try to change layer or color of selected objects from the start menu, it doesn't work if the mouse pointer has to be moved outside the menu box and I have to use the properties menu instead.

Another example, when I type something into the command line and the mouse moves outside the command window, the typing cursor jumps to the end, even if I'm currently writing something to the front.

Is there a way to deactivate this?
It's very annoying and I don't see the benefit.