If you lag the server, when you go through an end portal, it doesn't save the actions of the chunks near where the gateway is located, and this allows you to duplicate items or get some black states that aren't intended, like a floating torch.
This makes some situations like the shown in the following video: https://youtu.be/Wi1rLkM2D1g
This is my first bug report, if something is wrong or needs to be changed, please tell me.
Linked issues
Comments

Thank you for your report!
We're tracking this issue in MC-216148, 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
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit