rescaling after cropping undo redo
update perspective after layer-change
updated layer tests