I was having the same problem, but I can't remember at the moment what I did to correct it? However, my setup right now is ArcadeOs using Advmame.67 Dos version running through windows 98 Dos prompt. I have XP, but I havent installed it yet, I was afraid that everything I have set up will no longer work. I would say give advmame 67 a try and see if that solves your problem. Advmame seem to work better than the regular version of mame. Let me know if it works for you, if does I think I'm going to do the XP upgrade to my system. I love using ArcadeOs, its easy to use and has lot of options!
Steve