I tried searching for a related issue but they all seem to be resolved from years ago. If this is a duplicate, I apologize.
After casting your rod and switching to a new item, your fishing rod line will render as if it was on the left side of the screen before disappearing.
Before switching: https://i.imgur.com/Ctk6nHS.jpg
After switching: https://i.imgur.com/tFyXnvp.jpg
Steps to reproduce:
Cast fishing rod
Switch to a different item slot
Linked issues
duplicates 1
Comments 2

Ahhh, apologies 🙂
Thank you for your report!
However, this issue is a Duplicate of MC-109263.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki