Fix for errors whenever resizing the minibufexpl window.