Shoe size or position has nothing to do it, the real issue is chainstay length, meaning that in particular gravel and mountain bikes have problems with the crank reaching far enough back to activate the cadence sensor reliably. Maybe test the magic spoon trick to extend the effective metallic length of the crank, see examples here: Cadence seems not to work correctly with Tacx Neo 2T Smart - #4 by shooj