MZ custom picture save menu

I use QM+CollisionMap to use collider
I'm making a picture menu and using it
$gameSystem.setSavefileId(3);
$gameSystem.onBeforeSave();
try {
DataManager.saveGame(3);
SoundManager.playSave();
} } catch (error) {
SoundManager.playBuzzer();
}
When I save using the code above, if I load it from another map, I can't load the collider How should I fix it

Original thread: https://forums.rpgmakerweb.com/threads/custom-picture-save-menu.159443/