Fix regression in GUI demo