The bug
In 1.19.4 Pre-release 4, a new option to view the credits screen from anywhere was introduced into the Options menu. Previously, the credits screen could only accessed from the copyright label on the main menu and by completing the game. Now, when entering the end portal while the credits screen is already being displayed, the credits reset from the top.
How to reproduce
Open a world to LAN
Enter the end, and run
/kill @e[type=ender_dragon]
Run the command
/tp @s 0 500 1
While falling, navigate to the pause menu -> Options -> Credits & Attribution -> Credits
❌ When you fall into the portal, the screen will reset from the top
Confirmed.