Thanks for the compliments and thank you for playing the previous iteration of this project! The difficulty is a hard point to balance with the current system so I'm glad to hear that you found this more balanced. :)
Unfortunately despite the added tension what you have described is a bug. The ability for the ai to shoot outside of their points of action is meant to be turned off but the line of code seems to have been skipped or interrupted somehow in that instance. My initial theory behind the cause proved inconclusive so I will just have to keep a note on it for now. Once again thanks for the feedback. :)