I use what looks like rubber shelf liner, but it's made to use under carpets so the carpets won't slip. I happen to have some extra.
I wrapped my foot pedal in it, secured with safety pins so it made a nice bundle. The foot pedal stays right where it should. I'm sure the rubber shelf liner works just as well.