A fix for mouse3