Fixed checked mode errors in treeview
Merge pull request #497 from ussuri/fix-treeview-in-checked-mode

Fixed checked mode errors in treeview