Don't allow clicks on hidden elements

The click tracking for SWT elements was not properly filtering out when
elements were hidden. This allowed for clicking on elements after they
were hidden, and also cursor changes on hovers over where a hidden
element used to be.