Panel: Make sure active button class is removed when link to panel is a listview button. Fixes #5961.