better layering, two bugs

1. center of scaled shapes is not right when rotated, when copying.
2. tooltip changes draggingshape coordinates