fixing accidental trigger on mousedown