Make sure buffer keeps expanded when switching window.