Fix problem with the clearing of the current level