fixed issue where unselecting marker caused it to revert to original anchor