[BUGFIX beta] Throws a deprecation warning if view instance is passed to `{{view}}` helper

Fixes #9427