correct position and pivot with angle transformations