Always use topological editing if using avoid intersection (where possible also to background layers). Without topological editing, it is possible to have very small gaps between the polygons