Perf: Let raise an exception on refresh line when we are out of the window.