fixed issue where marker defaulted to incorrect anchor when clicked