Fixed bugs players might encounter with the AI, improving overall AI interaction stability.