Go to base page when switching bots

If I’m on a specific flow editing page, for example, and I use the bot picker to swap to another bot, it goes to 404. It should instead go back to /components. Same with databases, errors, traces, etc. I think this used to be the behavior but it isn’t since the update.