What is the solution to Bobby's problem in things not seen by Andrew Clements?

The electric blanket Bobby is using is defective, and the sun is sending out unusual magnectic charges or something, and they combine with the defective blanket, it turns him invisible, then goes to sleep with while hes invisible turns him normal again.