Spatial discrimination in task-driven attention