yr: support setting location using ivar2 persisting