Fixed an error when the virtual file picker is called by the web page