bug fix for scene loading