Mednafen PCE-fast core

For some reason, only with the PCE core, when I try to play a game the input goes crazy, scrolling up and down to where I can’t even navigate the menus. I’ve tried turning off all the gamepads but it doesn’t stop.