Here are some ways:
- Reset the middle button to "middle button" instead of "double click"
- The newest mouseware software fixed this problem for me. Try downloading them from the logitech site.
- Try this link  
http://www.logitech.com/cf/support/mousefiles_w98.cfm#3 
Its a REGISTRY FILE FOR GAMERS.