Launcher: fix bugs for preview.