Fixed a bug where the time domain was not restored correctly upon load
of a plugin.