fixes a critical bug which offsetted the rendered result when search query was changed after resizing brackets window