Fixed bounds check on window select window delete