MainForm.cs: fix crash on attempted Auto Fit on online files