Usually the attack is already performed before the red AoE ends. So you might just be too slow.
Just check the mob's "attack bar", whenever it hit the end it'll perform that AoE, if you're not out of the circle by then you'll get hit.