Native: Fix bug about portal kit can not start