PtRaw function q4 to q6.3

I am trying to port working Q4.25/photon 1.14 functions to Qnx6/Photon. The use of the PtRaw widgets seem to have a different behavior under 6.3. All the draws to the PtRaw widget are done twice, sometimes more, for what should be a single draw. The raw draw function is specified in the Pt_ARG_RAW_DRAW_F resource in Phab.

Is this a known problem?? The rest of the gui code works pretty well with just resizing of fonts etc.