Fixed missing point in ai.js