Hast das von mir angebotene Stück Code mal ohne ein Level, also mit level_load(NULL); getestet.
Und hat das denn schonmal funktioniert?