Fix selection not being unselected on enter