in Idle Animations. in Creatures\Dog\Idleanims\DogCommonIdle\, the animation DogSitLooping, I think that you will want to add a condition to exclude Rex (or exclude mobs which have been set as player teammates) from that idle. Its a loop forever sitting idle and Rex seems to have cycled onto it, which means he was prepared to sit for a very long time.
In my game I got Rex moving by doing disable/enable on him.
;------------
V22ElevatorDoorScript does its movetos of companions without checking for the companion having been set to waiting by the player. It only checks if they have been hired.