Make the affix offsets dynamic.

This ensures that if something moves the editor,
the offsets still match the proper new location.