Hi.
Why don't you string the code under events, you put everything in one pile? It is not readable by people and causes disputable situations in the program.
Where the trigger “map creation” is triggered, the engine already understands that this particular map instance has been selected and is ready to work with it, so it is better to start events only for this map. If you want to process all map instances on the sheet in this event, you'd better move it to a function. And already in the function body list all the cards and set their size and position.