Viewer: Avoid exception/crash when no file is loaded and RefreshFile is called.