Improve stability of grid view resize