fix segfault when refreshing dummy screen on travis