You need to move as soon as you see the castbar, if you dont you will get hit no matter what.