Fix rotationOffset not being applied for transformations