Fix a crash in 'new kanban_pane' due to kanban_state = nil