Avoid edges of window w/ a buffer