Go to Settings > Video and change the aspect ratio from 4:3 or 16:9 or whatever you have it set to, to "Per Core" or something (it's the last option) , it picks the correct aspect ratio depending on the system (MAME is the only exception as different arcade machines have different screen sizes)