Fix crashing with sleeping while Morphed. Closes #377. Closes #370.