Fix drag events.