Fix problem with zoomout when start or end outside bounds