Redone PortalGun protection.

- Hopefully less processing required.
- Allows portal balls to fly through a town
- Permission check on collision (previously: multiple times while moving)