Add anchorAtPosition to preserve position when setting anchor.