Fix object selection with shift key - Closes issue #912

If you select two object and click one object with pressed shift key the last remaining object got selected.
Closes issue #912