This method is called automatically, only once, when the Scene is first created. Do not invoke it directly.