I am making a 3D app in OpenGL. It just loads some textured primitives and moves around the scene. But it's purpose isn't important. I recently added a toolbar to the app, and when the app starts, the toolbar flashes for a split second and then disappears, but it still maintains all of it's functionality (if you click where one of the buttons should be, it will execute the function accordingly). I need to know how I can fix this.