Delay in resizing images?