Which sentence is more idiomatic?
We need to avoid the presentation to be too complex.
We need to avoid the presentation being too complex.
to ask which one of them was grammatical, I'd say that the second one is grammatical.
Gerunds after Certain Verbs