Fixed a bug that was preventing levels from loading properly