This likely has to do with the issue addressed here: CSS overflow-x: visible; and overflow-y: hidden; causing scrollbar issue
In short, when using visible for either overflow-x or overflow-y and something other than visible for the other, the visible value is interpreted as auto.