Fixed bug in level loader.