fixed drag new rect bug