It appears that MAME is not configured to use the overlay correctly, unless I am doing something wrong. See the screenshot below compared to the one for FBA.
This is FBA
https://imgur.com/woiwgmE
This is MAME (2003+)
https://imgur.com/f6cpWfV
(sorry,,,couldn't figure out how to post pics directly)