Try removing resize scaling code