Window not freed automatically, but internally destroyed