fixed preview image cropping but not very nicely