XRENDERING-313: Add support for null listener in WrappingListener