Fix stuck in massive loop when doing a crop on listwindow