Needed to clear the map for resetting of dest/origin.