Inventory sound plays randomly

Inventory sound can play while inventory is not visible.