fixed crash in SceneShape::hasSceneShapeObject for invalid scene