Once in a great while I'll be working on a project file and either it has trouble downloading or faulting while programming offline. The fix for me has been to export it as a .L5K file (text) and then re-open the L5K file. That fixes whatever weirdness that it was plagued with.