@context.restore() after render in finally block