Get portals to work how they're supposed to...mostly