#524 Fixed cropping / resizing of PNG images