Fixed the issue with unpausing on focus with the inventory open.