Fixing image resizing

Back to before