fix view icondrag function