Fixes stupid bug with portal transform and unicode.