Make qt screen code don't initialize widgets in child thread in offscreen mode. cause Qt5 assertions in debug mode