During prophase, the nuclear envelope and nucleolus are dissolved and the chromosomes condense. The centrioles and spindle fibers begin to form at opposite poles of the cell.
Homeostasis is maintained at many levels, not just the level of the whole body as it is ... Of course, body temperature doesn't just swing above its target value