Cache window size for cross-thread/null scenarios.