Fix image resizing, now it works...