Reset the styles before reloading.

This doesn't fix the memory leak we've been experiencing, but it
can't hurt.