Fixed crashing when no ability target was found