scrollkeeper: avoid segfault