Fix "Client: Don't crash if trying to draw too many items from inventory in HUD"