At the window opening, little white screen appears for a 0.1 seconds. That's not a big problem, but it irritates me. Is it because of debuging? Or maybe it's because startDraw and startRun functions start at the same time (code below).
sf::Thread run_thread(&Engine::startRun, this);
createWindow(window_build);
run_thread.launch();
startDraw();