Prevent select and drag event.