Make render_expression use the stack like mock_engine.