XRENDERING-294: Improve the error message displayed when using a standalone macro in inline context