This can happen if the cornstarch wasn't whisked properly or was added to hot liquid instead of cold.