fbdemos: fix segfault when operating single-buffered