Not really overflow: hidden. Just position: relative. Take look at Balloon.css
1: https://kazzkiq.github.io/balloon.css/
EDIT: Sorry, now I read your comment. Yeah that's true, you will have to make some exception with your container in this case. But this sounds like an edge case to me.