I usually run back at the mob as soon as the cast bar finishes & don't take any damage.
It's the cast bar not the red lines which determine if you are in the target area or not.