use transform instead of setTransform, as we do not need to reset the transformation matrix