Made some optimizations and fixed issue 716: Rotate, move, break link messes up image library image shape
Made some optimizations and fixed issue 716: Rotate, move, break link messes up image library image shape

breity/svg-edit,breity/svg-edit,breity/svg-edit