Fix breakage in level loading