I've noticed this as well, also happens with the mutant dogs in the depot.
There's also times where if you are standing in the doorway, you can't attack enemies who are diagonally in your line of sight, but they can attack you, this leads to total screw in aforementioned depot when the dogs root you where you can't attack them, but they can attack you.