Fix quality of images being resized