Steps to recreate the bug:
Scroll to the bottom of the singleplayer worlds list.
Search for something (that doesn't include all of your worlds.)
The scrollbar and world list are both past the intended location.
Scrolling afterwards resets the list back to normal.
Duplicate of MC-158271.