Resized image perfectly. But getting random images