If you take a closer look now at the ball and the plastic retainer piece, you’ll see they’re covered with grime and other assorted dirt.
But brace yourself, it comes even worse. Look inside the mouse, specifically the rollers that are supposed to pick up the mouse movements. See how they’re covered with a thick layer of some unidentifiable crud? Yuck! No wonder the mouse wasn’t behaving properly.