Fixes behavior for check boxes of TreeView in combo box mode.