Fix bot running without GUI