fix drag+rotation issue