Don’t steal focus if the event trap wasn’t currently selected

Removing the local cursor should NOT steal the focus back to the event
trap unless it previously had focus (it generally never would).
Merge pull request #283 from peitschie/focus-steal

Don’t steal focus if the event trap wasn’t currently selected