To fix Magic Mouse tracking problems, reseat the battery, recharge the built-in battery, and clean the optical sensor. You can also try adjusting the mouse sensitivity.