Fix bugs with dungeon progression and level up