Magic Mouse not tracking? Inspect the underside sensor before cleaning
Apple advises checking the underside sensor window for debris when a Magic Mouse tracks poorly. Power off first and keep liquids out of openings.
Apple's official cleaning guidance says to switch off wireless mice, wipe the exterior with a lightly damp lint-free cloth, inspect the sensor window under a bright light and, if debris is present, use compressed air gently. Avoid scratching the sensor or soaking the body.