bug when deleting a marker after drawing path - resolved