panWithTransform - buggy