Negative item durability causes the durability bar to render incorrectly
If the current durability of an item is less than zero. The durability bars starts to render backwards and can go off-screen. The more durability under zero, the longer the bar becomes.
In 1.19.3 and earlier. The durability bar would just be empty if the current durability is below zero.
Steps to Reproduce:
1. Give yourself an item that has durability (Armor, tools). With the damage tag set to a value greater than the total durability of the item.
/give @s minecraft:iron_helmet{Damage:10000}
2. Notice how the durability bar is rendering incorrectly.