fixed some scene bugs