Only inject mouse input if menuContext is not null, keycatcher is set to UI