Fixed bugs with drag leave