The compact status effect texture you get when your gui size is too large, or when your recipe book is open has a misplaced pixel in the top right corner.
The top right corner should look the same as the bottom left corner, as with the longer status effect card.
The texture is located at textures/gui/container/inventory.png and the misplaced pixel at coordinate (29, 198)
This issue first appeared in 21w39a, when this feature was added.
Thank you for your report!
We're tracking this issue in MC-238242, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki