For future reference, if in Onshape you accidentally delete your sketch and then restore it and you go to another part studio, and you have a ghost of the image that you had in the one where you accidentally deleted it, all you have to do is refresh the tab...If that doesn't work refresh the cache by holding down Ctrl and pushing F5 three times.