Fix selection when shift key released before mouseup