Fixed AI playing one more move after you win.