fixed randomize bug, longclick is enabled if the view is not moving