rotationGroup no longer has a width and height. Use target width and height instead. This fixes rotation but scaling is still off.