Prevent editors from sticking out of window when growing