fix reference to old static variables on SceneObjects