Fix position links for variable-not-found error messages