Fix crashes on invalid mmd3 module loading.