Calculate anchor preview offset after updating contents of anchor preview. Issue #159