Fixed new module loading system when optimized.