game doesnt pause on inventory opening