fixed clear issue with block preview window