max distance for mouse clicking