for things to be perfectly smooth the monitor refresh rate must equal the game refresh rate *perfectly*
most modern monitors have a fixed native refresh rate and resolution which will not match that output by the game, this will result in non smooth scrolling (or in this case, ball movement)
MAME can slowdown / speedup the emulation to match the refresh rate of the monitor, but that will cause the game to run at slightly the wrong speed (and the sound pitch to be slightly off)
older style monitors were more flexible, and could often display different modes, but even then getting Windows to use the correct mode wasn't always easy.
it's a problem to which there is no real solution, it's a limitation of modern technology that's either going to cause some scrolling artifacts, or your games to run at the wrong speed.