Optimize the loading time by desactivating the overlay as soon as the spritesheet is generated