Move as soon as the area appears... or better yet anticipate the area and start moving prior to it showing.

The only time I get hit is if I try and squeak out the last few seconds of a cast.... I bet a large majority of the deaths from AE's are people trying to finish a cast before moving.