Image resizes and pixelates correctly