Try the following:
1) Increase or Decrease the Resolution. Some monitors have certain resolutions that don't fill the display.
2) Try adjusting the controls on the monitor.
3) Try setting MAME to the resolution that works best (See 1 and 2) and enable Stretch.