UI: Fix tab behavior to avoid jumps to homepage