Fixed small bug with dragging