fix weird connection drawing while draggging