This can happen if you don’t properly whisk the cornstarch together with the liquid ingredients of the sauce before adding it to the pan with the chicken. The sauce mixture needs to be smooth before it hits the hot pan to thicken up.