Distance updated on the ondraw