ui: Fix bug in scrolling from playlist to search line.
When the search filter was activated then the test for being the topmost
item would be wrong (there would be a topmost item but it's probably
filtered out!). Instead use the existing check for the *visible* item,
which wasn't even reached by the buggy code.