The horizontal part of your vent pipe at the top or above the top of the dam is the typical design (see fish's link) and will not cause the dam to be topped. The important part of the vent is the inlet.

I think the amount of air still in the vent pipe when the inlet is submerged is neglegable and does not prevent the siphon from starting.