Fix start_of_window bug.