Unselect feature before removing (thotherwise the vertices will remain active until an user selects another feature. Fixes #186