Fix GUI startup