If you cast your shield as the last action of your round you won't have any problems, since the trolls one dissapear.