fixing photoset cropping bug close #521