Added preventDefault to turnoff text highlighting when the triangle is dragged to resize