fixed bug in scene preview not working