Remove preloadWindow because rendering doesn't work while window is not shown.
Remove preloadWindow because rendering doesn't work while
window is not shown.

webuildsg/osx,gayanhewa/osx,webuildsg/osx,gayanhewa/osx