         return;
     }
 
-    SubscribeToEvent("Update", "HandleUpdate");
+    // Use the first frame to setup when the resolution is initialized
+    SubscribeToEvent("Update", "FirstFrame");
+
     SubscribeToEvent(input, "ExitRequested", "HandleExitRequested");
 
     // Disable Editor auto exit, check first if it is OK to exit

    CreateRootUIElement();
    // Load the initial scene if provided
    ParseArguments();
}

void Stop()

    // Use system clipboard to allow transport of text in & out from the editor
    ui.useSystemClipboard = true;

}

void FirstFrame()
{
    // Create root scene node
    CreateScene();
    // Load editor settings and preferences
