Fix resume when switching level