Make sure that gfxPlatform initialized in child thread