Merge "Fix 3122139, where previewing an attachment for the second time will fail."