It may be time to replace your mouse.
Where the cable enters the mouse the cores inside snap with repeated flexing. This causes intermittent faults that may include 'freezing', 'reversed clicking', 'moving in opposing directions', 'double clicking' and numerous other forms of unexpected behaviour.
If you are good enough at soldering you can cut the cable about an inch from where it enters the mouse, and then re-terminate the cable.
My microsoft wheely mouse cable is now only half its original length as it has been repaired in this way FOUR times. It was given to me as 'faulty', but this was repaired using the above described technique. At about 18-24 month intervals I usually have to repeat this repair.
This may sound mean with a new rodent only costing about £2.50 for a cheapo one and about £10 for a tidy one, but when I get home from work and settle down for an evening surfing and my mouse goes faulty I feel a strong urge to reach for my soldering Iron.
Remember a computer mouse is classed as a 'consumable' that requires regular maintenace such as cleaning the rollers the mouse ball rests against, and will wear out with time, especially if used regularly.
Disclaimer :
The repair I mentioned above is not to be taken as advice, and would not be recommended to any person not having substancial electrical and electronic repair experience. I am only stating what I have done myself, and I take no responsibility for any damage you cause to any equiptment involved should you attempt this type of repair.