fixed bug if selection went across entire 1 dimension