Your mind fails to lock onto that location

The message "Your mind fails to lock onto that location" is given when you try to target a spell at a location you cannot see, or at a wall.