Prevent default in mousedown and mousemove