Fix shift selection window bug