Add sleep to prevent mouse from being dragged while depressed