Fixed race condition with QWidget not being initialized when the GraphicsManager was initialized