Small fix in drag detection.