Fixes issue boards focus mode when the new navigation is turned on.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/35449