darkroom: fix history item pushing system segfault