Lens coating and hoods can only do so much. If the light was in direct view of the lens then that is your answer. The Sonnar will have only primitive lens coating (if any) when compared to modern multicoated optics which even they will struggle with direct light.
The vented hood, I'm assuming you mean one that has sections cut out at the base, if the light source was getting though them theres another cause for your problem.