Fixed dragging off screen bug