the illagers involved in raids seem to be confused, they will run around and kill villagers, but occasionally will run right past them or run into a wall and stay there. the "search" function seems to be top priority, when i go up to their face they still run around, same story when you attack them. they only see you when they come to you, this doesn't seem to be the case with natural raids
Please check if that's still an issue in the latest snapshot.