Thats working as designed. The game doesn't need to track the caster for strategic spells, so it wouldn't know who to reward the xp to. Besides its kinda cheesy to get Xperia for calling down fire with no personal risk to yourself (would you have learned anything more or less by calling down fire on and empty field). so for better or for worse this is how it is supposed to behave.