[fix] Fixed player being trapped in portal, and ghost portal rendering