The putty developers already thought of that!
- Go to Putty Configuration window
- Choose "Selection" from category on the left of the window.
- Under 'Control use of mouse', choose 'Compromise (Middle extends, Right pastes)' if not already chosen.
(source)