Fixed bug when selection can be cleared by pressing Shift key