All heals and buffs are cast on self, if there is no target selected or can't be applied on the selected target (not friendly npc).
I can't check right now, but there is probably a setting (there is one on most MMOs) where you can turn this self-cast thing on and off, since it is usually just a preference.