Fix problem with focus

Now inventory open by key event and after close it you can move