Portal linking hotfix

I've made a small adjustment that allows portal linking again. It's probably not a long-term solution, as you may have different plans for UI organization, but I think it's not good that the current repo version is broken like that - it's really a problem for those of us who like to "roll their own".