[Qt] Fix coin control qt5 checkbox bug in tree mode

There is a qt5 bug in how the treewidget handles checkboxes in treemode.
Nothing critical, does not affect coin control, but the checkboxes appear to be buggy to the user.
See inline code comment.

Fixes point 3 of #3840.