getting paused when start mame core on EmulationStation Frontend

Hi everyone…

Writing from Italy and have a problem that no longer get resolved in my sytem.

I utilize E.S. as front end and Retroarch for my emulators.

Happen with only mame core.

If i start game with mame core from Retroarch UI, that start with no problem, but, if i start a gamefrom the E.S. menu, this start from paused, due the fact cmd take the focus instead of retroarch program.

So the main problem is that E.S. at mame core start, take the Windows focus and put mame core in retroarch not on top.

After months of test i can’t figure why…

Thank’You for Your time.