2009~2013 Strange behavior of the speedometer

I have a 2011 Mazda 3S with a 2.5L engine, and I'm experiencing some strange behavior with the speedometer. When I start the car, the speedometer needle jerks, and the electric locks activate, as if the car is already moving when it is actually stationary. I’ve attached a photo for reference. There are no error messages appearing, and the RPM gauge reads normally (the ABS light has been on for a year but isn't related to this issue). Once I reach a speed above 20 km/h, the speedometer operates normally and the automatic transmission shifts as it should. Does anyone have any ideas about what might be causing this? Thank you!
Odometer.webp
 
Back