Unsets the goal target if the target is null