Clear selection if unselectable object is clicked - Fixes issue #976
Merge pull request #982 from Kienz/patch-1

Clear selection if unselectable object is clicked. Closes #976