Spawning sprites in the main loop