The offhand slot is sometimes not rendered correctly. This happens in the following circumstances:
This list might be incomplete.
MC-161847 Armor slots in the inventory are displayed black in some circumstances
MC-162538 Creative menu corners have opacity issues; outlines have no transparency