Fix window class name string copy.