This is unrelated to the clips you’ve shown but don’t forget about the game’s slot system that pools enemies in front of you and moves them around accordingly. I have seen elite enemies sliding back and forth in wide open areas where seemingly nothing obstructed their pathing. But the game made adjustments and kinda force-moved elites into different slots right in front of me ignoring the animations they were in.
Regarding the slave rat clip. I think everything worked as intended. The slave rat targeted you and went for a hit but you backed up and dodged to the right. Now, since the targeting is still active (dodge windows in Cata are the shortest and exarcebate the issue, I think) the rat would have to move inside of the wall to follow through with its original or ‘regular’ pathing. But this would obviously be worse and in order to keep things as realistic as they can be, the game decides to squeeze the slave rat through the doorway and right past you.