Need Help with Galv's Map Positions

Would it be possible to make it so that it would not call the “menu” scene on the back of the map? I have a custom background in the scene, and it always shows it in the back of the map and momentarily after I toggle the map off. Normally, I suppose it would just darken the background slightly, but for me it shows this picture and it looks very awkward. Apparently, this requires some sort of change in the script, but I'm completely clueless O_O


This is the script:


https://galvs-scripts.com/galvs-map-positions/
You can insert a picture of the problem?
Or a mini demo?
This is how it should look like, normally. There is no background image so the world map can be seen in the back of the map. It looks good like this (even though these WIP map images are crap)


Mapreal_zpsf7kwjxvu.jpg



However, this is how it looks for me. The background is a black image with planets, which is normally my menu scene background. It shouldn't be here at all.


Mapfalse_zps6l9jk8qv.jpg



So, I suppose it calls the menu scene for some reason. I think it would be enough if it just called the map. If the script could me modified in a way it wouldn't call the menu scene but just the map image?
Which script you use for the menu?
Blackmorning's Advanced Animated Menu:


https://onedrive.live.com/?authkey=%21AKSjQmWpKR1K8wc&v=TextFileEditor&id=3E574C9BA3A45C7C%2157136&cid=3E574C9BA3A45C7C&parId=3E574C9BA3A45C7C%2157097
Uh, I know this is a stupid question, but does your menu happen to have 2 buttons that call it and one of them is the same as the one that opens your map?


I'm not really familiar with your map and how it works, so I'm just wondering...
Uh, I know this is a stupid question, but does your menu happen to have 2 buttons that call it and one of them is the same as the one that opens your map?


I'm not really familiar with your map and how it works, so I'm just wondering...



No, I press X to open the menu and A to open the map. A does nothing if I don't have the Galv's map script. 
This snippet should fix your issue:

Code:
class Scene_ViewMap < Scene_MenuBase

  def custom_bg?
    return false
  end

end

Add it below both Galv's and Blackmorning's scripts.
I just tested it and it seems to work perfectly! Thank you, Sixth!

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-galvs-map-positions.74080/