fix a bug when screen remained empty until resize
isearch: work in-progress