When rendering a exception caught when rendering an exception, some view variables were missing causing fatal errors. Fixes #2843