Fix "Client: Don't crash if trying to draw too many items from inventory in HUD" (reverted from commit 0682e8a42dec70a1be75bae3c99fa88e4672153e)