I built my MAME years ago but rarely use it. I use a Vision Pro II horizontally, and I tweaked the size settings to a generally good setting so I can see both horizontal and vertical games fairly well.
I remember that a few vertical Midway games like Pac Man, Galaga, etc were quite tricky to get the vertical to "snap in" and stop scrolling, while also keeping other games fine. I had it working! Games like Pacman and Mspac had a little bit of over-scan, but in general I could see the score and the tops of the bottom bonus items (cherry, etc).
Last week, I had a BBQ and friends over and we had the MAME on. Now, all of those "picky" vertical Midway games display some "wrapping" at the bottom of the screen, and sometimes will vertically scroll. (By "wrapping" I mean that problem you often see on old monitors where visuals go off the screen and double back over. In this case it does this about half an inch from the edge of the monitor.)
I can go and select other games, including vertical games like TUtankham and they display perfectly. It's like this monitor has broken but only in one particular mode.
I use an ArcadeVGA card with a JPAC.