Change window to window3d