Unwanted behavior can be seen by rotating one of the portals so their rotation doesn't equal each other.