Yes but relative to you the door is moving away and you’re stationary. In this example of the portal coming towards you, therefore upon paasing through the other side of the frame, the other portal, is moving away from you.
In this diagram, it’s assumed that the person is the frame of reference, therefore I believe A to be the correct outcome.