Restore Perl context after vh::ScriptCommand (fix crash