Fix --here option with window base index