Fix lag when Editor closed and prefab spawn and roll bug