Treeview bugfix: Initial checked state does not half-check parents