add IsPrim instance for Prim
change default implementation of renderDia to call transformWithFreeze